package com.woniuxy.mylb;

import com.netflix.loadbalancer.ILoadBalancer;
import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.Server;

/**
 * @author : mafan
 * @date : 2020-11-19 11:20
 **/
public class mylb implements IRule {

    public Server choose(Object o) {
        System.out.println(o.getClass());
        return null;
    }

    public void setLoadBalancer(ILoadBalancer lb) {

    }

    public ILoadBalancer getLoadBalancer() {
        return null;
    }
}
